package cn.dhnep.demo.mapper;

import cn.dhnep.demo.pojo.entity.TbActivity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 邱文彬
 * @Date 2021/12/6 10:24
 * @Version 1.0
 */

public interface ActivityMapper {
    int insertActivity(@Param("urlName") String urlName, @Param("activity")String activity,@Param("pictureName") String pictureName,@Param("targetWeight") double targetWeight);

    List<TbActivity> getAll();

}
